package com.huang.eduservice.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.huang.eduservice.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huang.eduservice.entity.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-03-21
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterVideo(String courseId);

    void addChapter(EduChapter eduChapter);

    EduChapter getChapterByid(String id);

    void updateChapter(EduChapter chapter);

    String deleteChapter(String id);

    void removeChapterByCourseId(String id);
}
